WPFunnels\Modules\Frontend\Checkout\Module D

Total Complexity 235
Dependencies 11
Dependents 0
Total lines 1,292
Lines of code 724
Logical lines of code 452
Comment lines 342
Methods 46
Properties 2

Methods 46

Method Rating Maintainability Complexity Lines of code
initialize_cart_data()
D
32 41 82
wpfnl_checkout_discount()
A
45 15 38
wpfnl_update_variation()
A
46 12 37
save_checkout_fields()
A
45 12 36
add_variaiton_product_in_cart()
A
50 10 27
get_product_price_type()
A
54 9 20
wpfnl_checkout_cart_item_quantity()
A
51 8 24
calculate_custom_price()
A
55 8 19
render_checkout_shortcode()
A
48 7 33
set_option_data_in_checkout_filed()
A
55 8 17
wpfnl_next_button_ajax()
A
48 7 32
apply_auto_coupon()
S
54 7 21
get_complete_variation_format()
S
57 6 16
wpfnl_order_bump_ajax()
S
52 5 23
get_optin_data_checkout()
S
61 6 10
wpfnl_set_checkout_id()
S
59 5 14
add_default_variation()
S
55 4 21
custom_price_to_cart_item()
S
63 5 10
wpfunnels_woocommerce_locate_template()
S
60 4 14
add_coupons()
S
63 4 10
get_replaceable_ob_products()
S
62 3 12
prepare_query_param()
S
62 3 12
display_coupon_field()
S
64 3 10
get_product_price()
S
74 3 4
enable_checkout_hook()
S
69 3 7
render_express_checkout()
S
68 3 6
get_first_attribute_value()
S
63 3 10
checkout_shortcode_metas()
S
60 2 13
get_first_variation_id()
S
60 2 12
__construct()
S
50 1 27
wpfnl_checkout_cart()
S
62 2 11
add_checkout_products()
S
66 2 8
update_checkout_with_last_updated_cart()
S
71 2 5
render_order_bump_template()
S
72 2 5
checkout_flag()
S
71 2 6
get_formatted_variation()
S
68 2 7
before_checkout_form_actions()
S
67 2 8
wpfnl_redirect_after_login()
S
69 2 7
is_variation_incomplete()
S
65 2 9
add_coupon_field()
S
74 2 5
wpfnl_out_of_stock_message_in_checkout()
S
68 1 6
remove_astra_theme_checkout_shipping_hook()
S
82 1 3
wpfnl_express_checkout_shipping_table_update()
S
68 1 7
wpfnl_get_course_details()
S
65 1 9
render_order_bump_popup()
S
69 1 6
init_wc_actions()
S
73 1 5